package org.lex.keytool.ui;

import java.awt.BorderLayout;
import java.awt.Font;

import javax.swing.JLabel;

import org.lex.keytool.ui.task.BaseTaskPane;

public class EmptyPane extends BaseTaskPane {
	public EmptyPane() {
		super();
		this.setLayout(new BorderLayout(0, 0));
		this.add(createLabel(), BorderLayout.CENTER);
	}

	private JLabel createLabel() {
		JLabel label = new JLabel("Please select a Task");
		label.setHorizontalAlignment(JLabel.CENTER);
		label.setEnabled(false);
		Font font = label.getFont();
		label.setFont(font.deriveFont(Font.BOLD, font.getSize2D() + 10f));
		return label;
	}
}
